package com.jiyun.controller;

import com.jiyun.pojo.NUserauthform;
import com.jiyun.service.NUserauthformService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

@RestController
@CrossOrigin
@RequestMapping("/NUserauthform")
public class NUserauthformController {

    @Autowired
    private NUserauthformService nUserauthformService;

    @PostMapping("/yanzheng")
    public void yanzheng(@RequestBody NUserauthform userauthform){
        System.out.println(userauthform);
        nUserauthformService.yanzheng(userauthform);
    }
}
